rockchip: handle some interrupt before enter power mode for rk3399
authorCaesar Wang <[email protected]>
Thu, 18 Aug 2016 00:22:10 +0000 (17:22 -0700)
committerCaesar Wang <[email protected]>
Thu, 25 Aug 2016 04:29:43 +0000 (12:29 +0800)
commitbdb2763d64e41a2a18f7ec77b51a2e69ebb512e1
tree67574b563057f7eeee1a18c097c5713902c856a9
parentb3464232513bc9cb3572a0b42a7cf6dcde8ec255
rockchip: handle some interrupt before enter power mode for rk3399

For the PMU design, we don't expect to get the interrupts before enter
the power mode. Since that will cause the confusion for the state
machine in the power mode.

Change-Id: Id8dee79ae617a66271b5caf92caf35f520f45099
plat/rockchip/common/include/plat_private.h
plat/rockchip/common/plat_pm.c
plat/rockchip/rk3399/drivers/pmu/pmu.c